//
//  CXBtConfig.h
//  JwPack
//
//  Created by 陈警卫 on 2025/8/12.
//

#import <Foundation/Foundation.h>
#import <CoreBluetooth/CoreBluetooth.h>

/// 打印日志
#define kCXBtLogShow 1
#define kCXBtLog(format, args...) \
if(kCXBtLogShow) { \
NSLog(format, args); \
}

@interface CXBtConfig : NSObject<NSCopying>

/// 蓝牙状态通知 默认YES
@property (nonatomic, assign) BOOL showPowerAlertKey;
/// 蓝牙重复扫描 默认NO
@property (nonatomic, assign) BOOL allowDuplicatesKey;

/// 外设被动断开重连 默认NO
@property (nonatomic, assign) BOOL disconnectReconnect;

/// 主动扫描服务UUID数组
@property (nonatomic, strong) NSMutableSet<CBUUID *> *scanUUIDs;
/// 过滤广播服务UUID数组
@property (nonatomic, strong) NSMutableSet<CBUUID *> *filtAdvServiceUUIDs;
/// 过滤广播外设UUID数组
@property (nonatomic, strong) NSMutableSet<CBUUID *> *filtAdvPeriUUIDs;
/// 过滤广播外设名称数组
@property (nonatomic, strong) NSMutableSet<NSString *> *filtAdvNames;

@end

